<%@ page language="java"  pageEncoding="UTF-8"%>   
<%@ page import="cn.netjava.jojo.UserInfo"%>
       
           <div id="login">           
               <ul>
                  <li><a href="login.html">登陆</a></li>
                  <li><a href="regis.html">注册</a></li>
                  <li><% UserInfo user=(UserInfo)session.getAttribute("loginUser");
                         if(null!=user){
                      %><%= user.getUserName() %>欢迎登陆
                      <%}else{ %>
                             你还未登陆 
                      <%} %></li>
               </ul>
           </div>    
           <div id="logo">
              <h1>我的<span class="pink">地盘</span>我做主</h1>
           </div>
           <div id="search">
             <input type="text" size="15" /> <button>search</button>
	       </div>